<%@include file="/pages/include/tag_include.jsp"%>
<%@include file="/pages/include/base_context.jsp"%>
<div class="container">
    <%@include file="/pages/include/message_display_include.jsp"%>

    <s:set name="conferences" value="form" scope="request"/>
    <s:set name="currentLoginUser" value="currentLoginUser" scope="request"/>
    <display:table id="row"  name="conferences" class="table table-striped"
                   pagesize="${conferences.objectsPerPage}"  
                   partialList="true" size="${conferences.fullListSize}"
                   requestURI="/conferencesubmit/list.do"
                   >
        <display:column property="name"  title="Name" href="/coms-war/conferencesubmit/maintain.do" paramId="form.conferenceAuthor.conferenceId" paramProperty="id"/>
        <display:column property="description"  title="Description" />
        <display:column property="startDate"  title="Start Date" />
        <display:column property="endDate"  title="End Date" />
        <display:column title="${currentLoginUser.id}" >
            <c:choose>
                <c:when test="${row.isAuthor(currentLoginUser.id)}">
                    <span class="label label-success"><s:text name="participated"/></span>
                </c:when>
                <c:otherwise>
                    <span class="label "><s:text name="not_participated"/></span>
                </c:otherwise>
            </c:choose>
            </display:column>
        </display:table>

        <br/><br/>

</div>
